﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SQLite;

namespace AWE_Projekt_2011_IA209
{
    class TDatabase
    {
        private string dbpath = "../db.db";
        private SQLiteConnection dbcon;

        public TDatabase()
        {
            this.dbcon = new SQLiteConnection();
            this.dbcon.ConnectionString = "Data Source=" + this.dbpath;
            this.dbcon.Open();
        }

        ~TDatabase()
        {
            this.dbcon.Close();
        }

    }
}
